home *** CD-ROM | disk | FTP | other *** search
- ' ┌─────────────────────────────────────────────────────────────────┐
- ' │ Jerry Rose │
- ' │ 3201 Stanford │
- ' │ Plano, TX 75075 │
- ' │ (972)424-5419 -> work │
- ' │ (972)599-2477 │
- ' └─────────────────────────────────────────────────────────────────┘
-
- BACKGROUND 63
-
- WINOPEN 0 2 111
- " Roseware"
- " Automotive Software "
- ""
- ""
- WINUPDATE +10 +4 110
- " Installation Program "
-
- TELESCOPE ON
- SHADOW ON
-
- :PROMPT
- DRIVE C 28 10 31 15 32 14 79
- PATH \SC 12 10 31 15 32 14 79
- EXIST ~1~2\*.EXE
- JUMP.NO START_UNPACK
-
- WINOPEN 0 10 31
- "The directory ~1~2 already exists and contains files!"
- "Overwrite existing files in this directory Y or N?"
- WINUPDATE +16 +1 30
- "~1~2"
- WINUPDATE +46 +2 60
- "Y or N?"
- ASK 65 12
- WINCLOSE
- ' do not use this directory, loop back
- JUMP.NO PROMPT
-
- ' ------------------------------
-
- :START_UNPACK
- WINOPEN 0 18 112
- "********** Now Installing ********** "
- UNPACK SC.PAK 0 10 31 32 14 79
- WINCLOSE
- JUMP.FAIL INSTALL_FAILURE
-
- ' -------------------------------
-
- WINOPEN 0 12 31
- "Would you like to see the SC.DOC file (Y or N)?"
-
- WINUPDATE +42 +1 30 ' yellow text
- "(Y or N)"
-
- ASK +51 +1 ' one method of providing a conditional jump
- WINCLOSE ' close the above window
- JUMP.NO PRINT_SC.DOC
-
- VIEW ~1~2\SC.DOC 79 31 ' as you can see, The Finishing Touch
- ' has a built-in file viewer
-
- ' -------------------------------------------------------
- ' Ask user if they would like to print the READ.ME file
- ' -------------------------------------------------------
- :PRINT_SC.DOC
- WINOPEN 0 12 31
- "Would you like to PRINT the SC.DOC file (Y or N)?"
-
- WINUPDATE +45 +1 30 ' yellow text
- "(Y or N)"
-
- ASK +54 +1 ' another conditional jump
-
- WINCLOSE ' close the above window
- JUMP.NO DONE
-
- WINOPEN 0 0 31 ' printing large file takes a while ...
- ""
- " Printing ... "
- ""
- PRINT ~1~2\SC.DOC
- WINCLOSE ' close the above window
-
- JUMP.FAIL PRINTER_ERROR ' jump on fatal error
- JUMP DONE ' print successful, skip next
-
- :PRINTER_ERROR ' label for error condition
- WINOPEN 0 12 79 ' open the following window
- "Your printer is not responding. Possible problems:"
- " -- Printer is not turned on"
- " -- Printer is out of paper"
- " -- Printer is not attached to LPT1 (parallel port 1)"
- ""
- "Do you want to try to print again (Y or N)?"
- WINUPDATE +37 +6 78
- "(Y or N)"
- ASK +46 +6 ' prompt for Y or N key (conditional location of cursor)
- WINCLOSE ' close this window
- JUMP.YES PRINT_SC.DOC ' y key pressed, print
-
- :DONE
- PROMPT ON
- WINOPEN 0 10 31
- "Roseware has been successfully installed."
- "Thank you.........................."
- ""
- "Press the [ENTER] key to EXIT."
- WAIT +37 +4
- WINCLOSE
-
- :EXIT
- END
-
- , -------------------------------
-
- :INSTALL_FAILURE
- PROMPT OFF
- WINOPEN 0 11 79
-
- "THE INSTALLATION PROGRAM FAILED PRIOR TO COMPLETION"
- ""
- "Possible reasons:"
- " -- The floppy disk was damaged during shipping."
- " -- Your disk drive is out of alignment."
- " -- The disk was removed prior to completion."
- ""
- "Press [Enter] to exit.........................."
-
- WAIT 62 19
- WINCLOSE
-
- ' --------------------------------
-
-